<app-back-btn></app-back-btn>
<div class="page-title">
  <span class="title">testUnit详情</span>
</div>

<!--Extra0006:[未设置]-->
<!--供应商信息-->
<div class="panel panel-body">
  <!--供应商信息-->
  <section class="mb-20">
    <h3 class="subtitle">testUnit详细信息</h3>
    <div nz-row class="p-15">

      <div nz-col nzSm="12" nzXXl="10" [nzXs]="24">
        <p>
          <strong class="pr"> 工厂编码：</strong><!--工厂编码-->
          <span *ngIf="testUnitInfo.factoryCode">{{testUnitInfo.factoryCode}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.factoryCode"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

        <p>
          <strong class="pr"> 样品编码：</strong><!--样品编码-->
          <span *ngIf="testUnitInfo.sampleCode">{{testUnitInfo.sampleCode}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.sampleCode"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

        <p>
          <strong class="pr"> 工厂编码：</strong><!--工厂编码-->
          <span *ngIf="testUnitInfo.factorySn">{{testUnitInfo.factorySn}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.factorySn"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

        <p>
          <strong class="pr"> 产品sn：</strong><!--产品sn-->
          <span *ngIf="testUnitInfo.sn">{{testUnitInfo.sn}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.sn"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

        <p>
          <strong class="pr">状态 创：</strong><!--状态 创建 Create，测试通过TestSuccess，测试失败TestFailed，检修 Repair-->
          <span *ngIf="testUnitInfo.state">{{testUnitInfo.state}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.state"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

        <p>
          <strong class="pr">同步状态：</strong><!--同步状态：禁止同步 Ban, 准备同步 Ready,同步中 Sync,同步错误 Error,已经同步 Synced -->
          <span *ngIf="testUnitInfo.syncState">{{testUnitInfo.syncState}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.syncState"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

        <p>
          <strong class="pr"> ：</strong><!---->
          <span *ngIf="testUnitInfo.jobnumber">{{testUnitInfo.jobnumber}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.jobnumber"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

        <p>
          <strong class="pr"> 创建日期：</strong><!--创建日期-->
          <span *ngIf="testUnitInfo.createTime">{{testUnitInfo.createTime}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.createTime"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

        <p>
          <strong class="pr"> ：</strong><!---->
          <span *ngIf="testUnitInfo.staffCode">{{testUnitInfo.staffCode}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.staffCode"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

        <p>
          <strong class="pr"> 更新时间：</strong><!--更新时间-->
          <span *ngIf="testUnitInfo.updateTime">{{testUnitInfo.updateTime}}</span>
          <a class="color-gray" [title]="'Extra0007'| translate" *ngIf="!testUnitInfo.updateTime"
             (click)="toModifyTheUnSetData()">[未设置]</a><!--[未设置]-->
        </p>

      </div>

    </div>
  </section>
</div>


